﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Lekker.Data.Model;
using System.Data.Objects;
using Lekker.Data.Tags;
using Microsoft.Practices.Unity;

namespace Lekker.Services.Tags {
    public class TagService : ITagService {
        /*---------------------------------------------------------------------------------------*/
        #region Properties

        [Dependency]
        public ITagDao TagDao { get; set; }

        #endregion
        /*---------------------------------------------------------------------------------------*/

        /*---------------------------------------------------------------------------------------*/
        #region ITagService Members

        public IEnumerable<Tag> GetAllTags() {
            return this.TagDao.GetAllTags();
        }

        #endregion
        /*---------------------------------------------------------------------------------------*/
    }
}
